package com.ltd.testviewgroup;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

import com.ltd.testviewgroup.viewgroup.LinearLayoutSubClass;

import butterknife.Bind;
import butterknife.ButterKnife;
import butterknife.OnClick;

public class LinearsubActivity extends Activity {

    @Bind(R.id.button)
    Button button;
    LinearLayoutSubClass linearLayoutSubClass ;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.linearsub);
        linearLayoutSubClass = (LinearLayoutSubClass) super.findViewById(R.id.linearLayoutSubClass);
        ButterKnife.bind(this);

    }

    @OnClick({R.id.button})
    public void onClick(View v) {
        linearLayoutSubClass.beginScroll();
    }
}
